setjmp for the png error handler. It seems setting the error handling
authorLarry Ewing <lewing@helixcode.com>
Fri, 9 Jun 2000 19:41:29 +0000 (19:41 +0000)
committerLarry Ewing <lewing@src.gnome.org>
Fri, 9 Jun 2000 19:41:29 +0000 (19:41 +0000)
commitb166924b0ccf6d5c3b5b36d04b1d8f7df2072ef6
tree5d7bf93e83d27a01f9cdb72613dfca02db9fd8bb
parent40298ef908827fdde7f30a7ee18dd1d6d65c3ae4
setjmp for the png error handler. It seems setting the error handling

2000-06-09  Larry Ewing  <lewing@helixcode.com>

* gdk-pixbuf/io-png.c (gdk_pixbuf__png_image_load_increment):
setjmp for the png error handler.  It seems setting the error
handling functions does not avoid the jump, and so not calling
setjmp was causing the incremental loader to jump into lala land.
(gdk_pixbuf__png_image_begin_load): setjmp for error handling, I'm
not sure this one is actually required but the docs say it must be
set for every call to a png_* function.
Also changed the comment to reflect the fact that setting the
error handlers does _not_ avoid the longjmp.
gdk-pixbuf/ChangeLog
gdk-pixbuf/io-png.c